package com.book.core.enums;

public enum MenuType {
//    目录类型
    DIR(0, "目录"),
//    菜单类型
    MENU(1, "菜单"),
//    按钮类型
    BUTTON(2, "按钮");
    ;
    private Integer code;
    private String message;

    MenuType(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    MenuType() {
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
